import slderbar from './siderbar'
export default [
    { // 登录
      path: '/login',
      exact:true, // 是否精确匹配
      component: '@/pages/Login',
      meta: {
        title: '登录'
      }
    },
    { // 注册
      path: '/register',
      exact: true,
      component: '@/pages/Register',
      meta: {
        title: '注册'
      }
    },
    {
        path: '/',
        component: '@/pages/index',
        meta: {
            title: '系统'
        },
      routes: [
        ...slderbar
      ]
    }
]
